package Entities;

/**
 *
 * @author 647_2
 */
public class User extends BaseEntity {

    // TODO Добавить конфиг

    private String login;
    private String password;
    private String mail;

    public User(){
        super();
        login = null;
        password = null;
        mail = null;
    }

    public User(int ID, String login, String password, String mail){
        super(ID, "Сущность пользователя");
        this.login = login;
        this.password = password;
        this.mail = mail;
    }

    public User(String login, String password, String mail){
        super("Сущность пользователя");
        this.login = login;
        this.password = password;
        this.mail = mail;
    }

    public String get_login() {
        return login;
    }

    public void set_login(String login) {
        this.login = login;
    }

    public String get_mail() {
        return mail;
    }

    public void set_mail(String mail) {
        this.mail = mail;
    }

    public String get_password() {
        return password;
    }

    public void set_password(String password) {
        this.password = password;
    }


}
